/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.creatjobmanage.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.campusinfo.common.persistence.DataEntity;

/**
 * 创业项目Entity
 * @author zms
 * @version 2018-03-23
 */
public class CreatJobMes extends DataEntity<CreatJobMes> {
	
	private static final long serialVersionUID = 1L;
	private String creatStype;		// 创业项目
	private String creatShort;		// 简介
	private String creatImg;		// 图片
	
	public CreatJobMes() {
		super();
	}

	public CreatJobMes(String id){
		super(id);
	}

	@Length(min=1, max=30, message="创业项目长度必须介于 1 和 30 之间")
	public String getCreatStype() {
		return creatStype;
	}

	public void setCreatStype(String creatStype) {
		this.creatStype = creatStype;
	}
	
	@Length(min=0, max=255, message="简介长度必须介于 0 和 255 之间")
	public String getCreatShort() {
		return creatShort;
	}

	public void setCreatShort(String creatShort) {
		this.creatShort = creatShort;
	}
	
	@Length(min=0, max=255, message="图片长度必须介于 0 和 255 之间")
	public String getCreatImg() {
		return creatImg;
	}

	public void setCreatImg(String creatImg) {
		this.creatImg = creatImg;
	}
	
}